/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rootfinder;

import java.util.Random;

/**
 *
 * @author Administrator
 */
public class RandomIpGenerator {

    private static Random rand = new Random();

    private static int generatePart() {
        return rand.nextInt(256);
    }
    
    public static String generateIp(){
        return generatePart() + "." + generatePart() + "." + generatePart() + "." + generatePart();
    }
}
